package com.woniuxy.services;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entitys.TbComplaint;
import com.woniuxy.entitys.TbCustomer;

import java.util.Date;

/**
 * @Classname ComplaintService
 * @Date 2024/1/14 17:13
 */
public interface ComplaintService {

    PageInfo<TbComplaint> getAllComplaints(Integer pageNum,Integer pageSize);

    int updateSoftdel(Integer tcid);

    PageInfo<TbComplaint> getByCondition(Integer pageNum, Integer pageSize, Date beginTime, Date endTime);

    int updateComplaint(Integer tcid);

    PageInfo<TbComplaint> getComplaintsByCid(Integer pageNum, Integer pageSize, Integer cid);

    int saveOne(TbComplaint tbComplaint);

    int softdel(TbComplaint tbComplaint);
}
